All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.app.anim.TwoDSpriteInfo

java.lang.Object
   |
   +----quicktime.app.anim.TwoDSpriteInfo

public final class TwoDSpriteInfo
extends Object
implements ImageSpec, Serializable
This class can be used to retain the current sprite settings which can be used at a later stage to reset the TwoDSprite to those settings. The EncodedImage and ImageDescription of the TwoDSpriteInfo class are transient and thus will not be saved when this object is serialized. Applications should use a QuickTime movie or other means of saving image data.

See Also:
TwoDSprite

Constructor Index

 o TwoDSpriteInfo(EncodedImage, ImageDescription, Matrix, boolean, int)
Contains the information that can be used to create a sprite.
 o TwoDSpriteInfo(EncodedImage, ImageDescription, Matrix, boolean, int, GraphicsMode)
Contains the information that can be used to create a sprite.

Method Index

 o getDescription()
 o getGraphicsMode()
 o getImage()
 o getLayer()
 o getMatrix()
 o getVisible()

Constructors

 o TwoDSpriteInfo
 public TwoDSpriteInfo(EncodedImage im,
                       ImageDescription d,
                       Matrix m,
                       boolean v,
                       int l)
Contains the information that can be used to create a sprite.

Parameters:
im - the image of the sprite
d - the image description that describes the format of the im
m - the display matrix applied to the sprite
v - if true the sprite is/was visible
l - the layer of the sprite in its sprite world
 o TwoDSpriteInfo
 public TwoDSpriteInfo(EncodedImage im,
                       ImageDescription d,
                       Matrix m,
                       boolean v,
                       int l,
                       GraphicsMode gm)
Contains the information that can be used to create a sprite.

Parameters:
im - the image of the sprite
d - the image description that describes the format of the im
m - the display matrix applied to the sprite
l - the layer of the sprite in its sprite world
v - if true the sprite is/was visible
gm - the GraphicsMode (or null)

Methods

 o getImage
 public EncodedImage getImage()
Returns:
The current image data of the sprite
 o getDescription
 public ImageDescription getDescription()
Returns:
The description that describes the image
 o getMatrix
 public Matrix getMatrix()
Returns:
The display matrix of the Sprite
 o getLayer
 public int getLayer()
Returns:
The layer of the sprite in its SpriteWorld
 o getVisible
 public boolean getVisible()
Returns:
The visibility of the sprite
 o getGraphicsMode
 public GraphicsMode getGraphicsMode()

All Packages  Class Hierarchy  This Package  Previous  Next  Index